package com.situ.mall.order.service;

import com.situ.mall.order.pojo.query.OrderInfoQuery;
import com.situ.mall.order.pojo.vo.OrderInfoVO;
import com.situ.mall.pojo.entity.order.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author CKX
 * @since 2024-10-16
 */
public interface IOrderInfoService extends IService<OrderInfo> {

    void add(OrderInfo orderInfo);

    List<OrderInfoVO> list(OrderInfoQuery orderInfoQuery);

    Map<String, Object> selectByPage(OrderInfoQuery orderInfoQuery);

    void cancelOrder(Long orderId);
}
